package com.dhkj.circle.utils;

import com.dhkj.circle.constant.SystemConst;
import com.dhkj.circle.db.sqlserver.GSbaseDBSQL;
import com.dhkj.circle.thread.ThreadPoolManager;

public class CheckCardUtils {
    public static boolean checkDwmm(String str) {
        boolean status = false;
        if (str == null) {
            return false;
        }
        if (str.trim().equals(SystemConst.getDwmm())) {
            status = true;
        }
        return status;
    }

    public static boolean checkGS(String cardno,String str) {
        boolean status = false;
        ThreadPoolManager.getInstance().executeTask(()->{
            GSbaseDBSQL.getInstance().checkGS(cardno,str);
        });
        return status;
    }
}
